{extend name="Public/public"}
{block name="main"}
<br>
<br>
<br>

<form class="form-horizontal" role="form" action="/pro/update" method="post">
	                                          
												



									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 项目名称 </label>

										<div class="col-sm-9">
											<input type="text" id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" name="palias" value="{$data['palias']}" />
										</div>
									</div>

									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 真实名称 </label>

										<div class="col-sm-9">
											<input type="text" id="form-field-2" placeholder="" class="col-xs-10 col-sm-5" name="pname" value="{$data['pname']}" />
											<span class="help-inline col-xs-12 col-sm-7">
											</span>
										</div>
									</div> 

									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 监听间隔时间（秒） </label>

										<div class="col-sm-9">
											<input type="text" id="form-field-2" placeholder="" class="col-xs-10 col-sm-5" name="sec" value="{$data['sec']}" />
											<span class="help-inline col-xs-12 col-sm-7">
											</span>
										</div>
									</div>

									<div class="space-4"></div>


									<div class="widget-body">
													<div class="widget-main">
														<div>
															<label for="form-field-select-1">项目分类</label>

															<select class="form-control" id="form-field-select-1">
														
													            {if condition="$pro"}
													            {foreach name="pro" item="row"}	
																<option name="ptype" >&nbsp;{$row['tname']}</option>
																{/foreach}
													            {/if}	
																
															</select>
														</div>

													</div>
												</div>
											</div>
										</div><!-- /span -->
									</div><!-- /row -->

									<div class="space-4"></div>

	                                           <div class="control-group">
												<label class="control-label bolder blue">项目状态</label>

												<div class="radio">
													<label>
														<input name="pstatus" type="radio" class="ace" value="0" />
														<span class="lbl"> 启用</span>
													</label>
													<label>
														<input name="pstatus" type="radio" class="ace" value="1"/>
														<span class="lbl"> 禁用</span>
													</label>
												</div>

									<div class="space-4"></div>
									
										<div class="col-xs-12 col-sm-5">
											<div class="control-group">
												<label class="control-label bolder blue"  >通知手机号</label>
													{if condition="$phone"}
													{foreach name="phone" item="row"}	
														
												<div class="checkbox">
													<label>

														<input type="checkbox" class="ace" name="phone"  value="{$row}" /><span class="lbl">{$row} </span>

													</label>
												</div>
													{/foreach}
													{/if}	
														

											</div>
										</div>

									<div class="space-4"></div>

										<div class="col-xs-12 col-sm-5">
											<div class="control-group">
												<label class="control-label bolder blue" >通知邮箱</label>
														{if condition="$mail"}
													    {foreach name="mail" item="row"}
												<div class="checkbox">
													<label>

														<input type="checkbox" class="ace"  name="mail" value="{$row}" />
														<span class="lbl"> {$row}</span>


														
													</label>
												</div>
														{/foreach}
													    {/if}
											</div>
										</div>
										    <input type="hidden" id="form-field-2" placeholder="" class="col-xs-10 col-sm-5" name="pid" value="{$data['pid']}" />
											<input type="hidden" id="form-field-2" placeholder="" class="col-xs-10 col-sm-5" name="ptime" value="{$data['ptime']}/>

									<div class="space-4"></div>
									

<br>
<br>
<br>
<br>
									<div class="clearfix form-actions">
										<div class="col-md-offset-3 col-md-9">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
												提交
											</button>

											&nbsp; &nbsp; &nbsp;
											<button class="btn" type="reset">
												<i class="icon-undo bigger-110"></i>
												重置
											</button>
										</div>
									</div>

									
{/block}